package com.quz.jn_travel.service.impi;

import com.quz.jn_travel.mapper.TravelItemMapper;
import com.quz.jn_travel.pojo.TravelItem;
import com.quz.jn_travel.service.InfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class InfoServiceImpi implements InfoService {

    @Resource
    TravelItemMapper TravelItemMapper;

    @Override
    public TravelItem getTravelItem(int travel_id) {

        TravelItem item = TravelItemMapper.selectByPrimaryKey(travel_id);
        return item;
    }
}
